[paket]
tanim   = Ücretsiz ve açık kaynaklı, çapraz platform, libmpv tabanlı bir multimedya oynatıcı. Qt5 yapısı
paketci = Cihan_Alkan
url     = http://bakamplayer.u8sand.net/

[gerek]
derleme    = qt5-base mpv
calisma    = mpv

[kaynak]
1          = https://github.com/u8sand/Baka-MPlayer/archive/v$surum.tar.gz::$isim-$surum.tar.gz
2 = https://github.com/u8sand/Baka-MPlayer/commit/640cac8b.patch
3 = https://notabug.org/oltulu/Ceviri/raw/master/baka-mplayer_tr.qm

[sha256]
# 1         = 1ccfee598aef723e8815c7a2b782624c0d5f6c4d15194dbeb74f5e45b8aff898

[derle]
betik     = cd Baka-MPlayer-$surum
betik =  patch -p1 -i /sources/640cac8b.patch

betik     = mkdir -p $SRC/build
betik     = cd $SRC/build
betik     = qmake-qt5 ../Baka-MPlayer-$surum/src CONFIG+=release CONFIG+=install_translations -spec linux-g++
betik     = make -j$(nproc)

[pakur]
betik      = cd build
betik      = make INSTALL_ROOT="$PKG" install
betik = cp /sources/baka-mplayer_tr.qm $PKG/usr/share/baka-mplayer/translations/baka-mplayer_tr.qm
